package com.dasart.JRMgui;
import java.awt.BorderLayout;
import java.awt.Canvas;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


public class JRMMainFrame extends javax.swing.JFrame {
	private JMenuBar JRMMenuebar;
	private JMenu JRMMainMenue;
	private JPanel romVersionProgressPanel;
	private Canvas romDetailImage;
	private JPanel romSearchPanel;
	private JPanel romSearchList;
	private JPanel romDetailPanel;
	private JPanel romProgressVersionPanel;

	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
		} catch(Exception e) {
			e.printStackTrace();
		}
	}


	/**
	* Auto-generated main method to display this JFrame
	*/
		
	public JRMMainFrame() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			BorderLayout thisLayout = new BorderLayout();
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(thisLayout);
			{
				romDetailPanel = new JPanel();
				getContentPane().add(romDetailPanel, BorderLayout.NORTH);
				romDetailPanel.setPreferredSize(new java.awt.Dimension(699, 115));
				{
					romDetailImage = new Canvas();
					romDetailPanel.add(romDetailImage);
				}
			}
			{
				romSearchPanel = new JPanel();
				getContentPane().add(romSearchPanel, BorderLayout.CENTER);
				romSearchPanel.setPreferredSize(new java.awt.Dimension(699, 254));
			}
			{
				romSearchList = new JPanel();
				getContentPane().add(romSearchList, BorderLayout.SOUTH);
				romSearchList.setPreferredSize(new java.awt.Dimension(699, 320));
			}
			{
				romProgressVersionPanel = new JPanel();
				BorderLayout romProgressVersionPanelLayout = new BorderLayout();
				romProgressVersionPanel.setLayout(romProgressVersionPanelLayout);
				getContentPane().add(romProgressVersionPanel, BorderLayout.SOUTH);
				romProgressVersionPanel.setPreferredSize(new java.awt.Dimension(699, 159));
				{
					romVersionProgressPanel = new JPanel();
					romProgressVersionPanel.add(romVersionProgressPanel, BorderLayout.SOUTH);
				}
				romSearchList.setPreferredSize(new java.awt.Dimension(699, 20));
			}
			{
				JRMMenuebar = new JMenuBar();
				setJMenuBar(JRMMenuebar);
				{
					JRMMainMenue = new JMenu();
					JRMMenuebar.add(JRMMainMenue);
					JRMMainMenue.setText("jMenu1");
				}
			}
			pack();
			this.setSize(715, 518);
		} catch (Exception e) {
		    // TODO Error Handling
			e.printStackTrace();
		}
	}

}
